import request from '@/utils/request'

// 查询玩家装备列表
export function listEquipmentplayer(query) {
  return request({
    url: '/system/equipmentplayer/list',
    method: 'get',
    params: query
  })
}

// 查询玩家装备详细
export function getEquipmentplayer(id) {
  return request({
    url: '/system/equipmentplayer/' + id,
    method: 'get'
  })
}

// 新增玩家装备
export function addEquipmentplayer(data) {
  return request({
    url: '/system/equipmentplayer',
    method: 'post',
    data: data
  })
}

// 修改玩家装备
export function updateEquipmentplayer(data) {
  return request({
    url: '/system/equipmentplayer',
    method: 'put',
    data: data
  })
}

// 删除玩家装备
export function delEquipmentplayer(id) {
  return request({
    url: '/system/equipmentplayer/' + id,
    method: 'delete'
  })
}
